

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="Keywords" content="盈彩,彩票,时时彩,双色球,3D,福彩,体彩" />
<meta name="Description" content="盈彩,彩票,时时彩,双色球,3D,福彩,体彩" />
<link href="__PUBLIC__/user/css/BasicStyle.css" rel="stylesheet"
	type="text/css" />
<link href="__PUBLIC__/user/css/CommonStyle.css" rel="stylesheet"
	type="text/css" />
<link href="__PUBLIC__/user/css/NavigationMasterPage.css"
	rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/user/css/Container.css" rel="stylesheet"
	type="text/css" />
<link type="text/css" href="__PUBLIC__/user/css/iF.step.css"
	rel="stylesheet">
	<title>盈彩 - 购买软件 - 订单列表</title>
	<link href="__PUBLIC__/user/css/SubscribePage.css" rel="stylesheet"
		type="text/css" />
	<link href="__PUBLIC__/user/css/matrix-style.css" rel="stylesheet"
		type="text/css" />
	<link href="__PUBLIC__/user/css/bootstrap.min.css" rel="stylesheet"
		type="text/css" />
	</style>
</head>
<body>
	<form method="post" action="__CONTROLLER__/pay_post" id="form1">

		<div>
			<block name="include"> <include file="User:pay_header" /></block>
			<div id="Main">
				<div>
					<ol class="ui-step ui-step-blue ui-step-6">
						<li class="step-start step-done ">
							<div class="ui-step-line"></div>
							<div class="ui-step-cont">
								<span class="ui-step-cont-number">1</span> <span
									class="ui-step-cont-text">验证账号</span>
							</div>
						</li>
						<li class=" step-start step-done ">
							<div class="ui-step-line"></div>
							<div class="ui-step-cont">
								<span class="ui-step-cont-number">2</span> <span
									class="ui-step-cont-text">选择彩种</span>
							</div>
						</li>
						<li class="step-start step-done ">
							<div class="ui-step-line"></div>
							<div class="ui-step-cont">
								<span class="ui-step-cont-number">3</span> <span
									class="ui-step-cont-text">选择套餐</span>
							</div>
						</li>
						<li class="step-start step-done">
							<div class="ui-step-line"></div>
							<div class="ui-step-cont">
								<span class="ui-step-cont-number">4</span> <span
									class="ui-step-cont-text">转账支付</span>
							</div>
						</li>
						<li class="step-start step-done">
							<div class="ui-step-line"></div>
							<div class="ui-step-cont">
								<span class="ui-step-cont-number">5</span> <span
									class="ui-step-cont-text">联系客服</span>
							</div>
						</li>
						<li class="step-end step-active">
							<div class="ui-step-line"></div>
							<div class="ui-step-cont">
								<span class="ui-step-cont-number">6</span> <span
									class="ui-step-cont-text">购买完成</span>
							</div>
						</li>
					</ol>
				</div>

				<div id="container">
					<div class="content">
						<div class="head">
							<div class="serviceinfo">
								<span>订单列表:</span>
							</div>
						</div>
						<div style="margin: 10px;">
							<table class="table table-bordered table-striped with-check">
								<thead>
									<tr>
										<th width="60px;">序号</th>
										<th>盈彩账号</th>
										<th>彩种</th>
										<th>购买套餐</th>
										<th>价格</th>
										<th>申请时间</th>
										<th>支付方式</th>
										<th>订单状态</th>
										<th>支付串码</th>
										<th width="80px">支付操作</th>
									</tr>
								</thead>
								<tbody>
									<volist name="list" id="v">
									<tr>
										<td width="60px;">{$key+1}</td>
										<td>{$v.username}</td>
										<td>{$v.caizhong}</td>
										<td>{$v.taocan}</td>
										<td><strong style="font-weigth: bold; color: red">{$v.money}</strong></td>
										<td>{$v.add_time|date="Y-m-d H:i:s",###}</td>
										<td><if condition="$v['pay_type'] eq 0"> 未支付 <elseif
												condition="$v['pay_type'] eq 1" /> <strong
												style="font-weigth: bold; color: blue">支付宝支付</strong> <elseif
												condition="$v['pay_type'] eq 2" /> <strong
												style="font-weigth: bold; color: green">微信支付</strong> <elseif
												condition="$v['pay_type'] eq 3" /> 免支付 <else /> <strong
												style="font-weigth: bold; color: red">异常</strong> </if></td>
										<td><if condition="$v['order_statue'] eq 0"> 待支付 <elseif
												condition="$v['order_statue'] eq 1" /> <strong
												style="font-weigth: bold; color: blue">待审核</strong> <elseif
												condition="$v['order_statue'] eq 2" /> <strong
												style="font-weigth: bold; color: green">审核通过</strong> <else />
											<strong style="font-weigth: bold; color: red">已过期</strong> </if></td>
										<td><strong style="font-weigth: bold; color: red">{$v.code}</strong></td>
										<td class="center"><if condition="$v['pay_type'] eq 0">
											<a class="btn btn-primary"
												href="__CONTROLLER__/pay_bean?id={$v.id}"
												form-type='content'>去支付</a> <else /> <a
												class="btn btn-primary"
												href="__CONTROLLER__/pay_bean?id={$v.id}"
												form-type='content'>查看</a> </if></td>
									</tr>
									</volist>
								</tbody>
							</table>
						</div>


						<!-- <div style="margin-left: 50px;">
							<a id="next_btn" class="buttonlink"
								onclick="return check_username();">下一步</a>
						</div> -->
						<div class="bottom">
							<!--  <img src="Style/Images/Help.png" style="vertical-align: middle;" title="提示" alt="提示" /> -->
							<span class="fieldmark">如果您还没有注册盈彩账号，请先&nbsp;<a
								href="__CONTROLLER__/register"
								style="color: Blue; font-weight: bold;" target="_blank">注册</a>&nbsp;。<span
								style="color: red; font-weight: bold;">购买权限后软件如若无法获取权限，请重新登录账号进行获取！</span>&nbsp;<a
								href="__CONTROLLER__/logout"
								style="color: Blue; font-weight: bold;">退出登录</a>
							</span>
						</div>
					</div>
				</div>
			</div>
		</div>
	</form>
	<script type="text/javascript">
		// 检测账号
		$("#register_btn").unbind('click').bind(
				'click',
				function() {
					if (r_us == true && r_pwd1 == true && r_pwd2 == true
							&& r_em == true && r_qq == true) {
						var username = $("input#reg_username").val();
						var password1 = $("input#reg_password1").val();
						var password2 = $("input#reg_password2").val();
						var email = $("input#reg_email").val();
						var qq = $("input#reg_qq").val();
						var phone = $("input#reg_phone").val();
						var code = $("input#reg_code").val();
						$.ajax({
							url : locationPath
									+ '/index.php/Home/User/register',
							type : "post",
							data : {
								'username' : username,
								'password' : password1,
								'password2' : password2,
								'email' : email,
								'qq' : qq,
								'phone' : phone,
								'code' : code
							},
							error : function() {
							},
							success : function(data) {
								if (data['status'] == 200) {
									window.location = locationPath
											+ '/index.php/Home/Index/index';
								} else {
									alert(data['msg']);
								}
							}
						});
					} else {
						alert("请填写正确再提交！");
					}
				});
	</script>


</body>
</html>
